import axios from './axios';

export const login = (data)=>
    axios.post('/user/login',data)

export const register = (data)=>
    axios.post('/user/register',data)
    
export const uploadAvatar = (data)=>
    axios.post('/user/uploadAvatar',data)

export const changeUser = (data)=>
    axios.post('/user/edit',data)
